home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr14 / bakdemo.zip / INSTALL.SCR < prev    next >
Text File  |  1993-04-13  |  2KB  |  86 lines

  1. clear
  2. space %1: 3000 NoSpace
  3.  
  4. echo The install program will now copy the
  5. echo Betrayal At Krondor Demo to your hard drive.
  6. echo Approximate hard drive space required:  3 Megs
  7. echo
  8. echo Do you wish to (C)ontinue or (E)xit?
  9. pick ce Continue Exit
  10.  
  11. :Continue
  12. clear
  13. %1:
  14. godir %4 CantCreate
  15.  
  16. echo Copying Startup Files ...
  17.  
  18. exists %2:RESOURCE.000 Please insert the disk labeled "Disk 1" in drive %2:.
  19. echo Copying Game files...
  20.  
  21. copy %2:*.*           
  22. echo %3 >resource.cfg
  23.  
  24. echo Processing %2:resource.000 ...
  25. unchunk RESOURCE.000 . > nul
  26. if ERRORLEVEL 1 goto BadChunk
  27. del RESOURCE.000
  28. del UNCHUNK.EXE
  29.  
  30. clear
  31. echo
  32. echo  To play NOW:
  33. echo     Type KRONDOR and press [ENTER].
  34. echo
  35. echo  To play LATER:
  36. echo     From the root directory of %1:
  37. echo     Type CD %4 and press [ENTER], then
  38. echo     Type KRONDOR and press [ENTER].
  39. echo
  40. pause
  41. end
  42.  
  43. :NoSpace
  44. clear
  45. echo
  46. alert There is not enough space on %1: to install Betrayal At Krondor Demo on your hard drive.  3 Megabytes of disk space are necessary.
  47. end
  48.  
  49. :CantCreate
  50. clear
  51. echo
  52. alert Unable to create directory %4
  53. end
  54.  
  55. :BadChunk
  56. if ERRORLEVEL 6 goto ERR6
  57. if ERRORLEVEL 5 goto ERR5
  58. if ERRORLEVEL 4 goto ERR4
  59. if ERRORLEVEL 3 goto ERR3
  60. if ERRORLEVEL 2 goto ERR2
  61. if ERRORLEVEL 1 goto ERR1
  62. alert Unable to extract resource file.  Please run install again.
  63. end
  64.  
  65. :ERR1
  66. alert Unable to read resource file.  Make sure the drive door is shut and run install again.
  67. end
  68. :ERR2
  69. alert Unable to write resource file to hard drive.  This program only installs games on hard drives.  Run install again.  If you get this message again you may have a problem with your hard drive.
  70. end
  71. :ERR3
  72. alert Not enough memory to run extraction program.  The extraction program needs a minimum of 550k to operate.
  73. end
  74. :ERR4
  75. alert The resource file is bad.  Run install again.  If you get this message again, you probably received a bad disk.
  76. end
  77. :ERR5
  78. alert Unable to open the resource file for reading.  A possible solution might be to increase the value of the FILES setting in your CONFIG.SYS file.
  79. end
  80. :ERR6
  81. alert Unable to open the target file for writing.  A possible solution might be to increase the value of the FILES setting in your CONFIG.SYS file.
  82. end
  83.  
  84. :exit
  85. end
  86.